﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Kaiser.Domains;
using Kaiser.Modules.Core.Aggregates.Bills;

namespace Kaiser.Modules.Core.Aggregates
{
    public class Company : EntityBase<Company>
    {
        public string CompanyName { get; set; }

        private IList<ProductSendObj> _productSendObjs;
        public IList<ProductSendObj> ProductSendObjs
        {
            get
            {
                if (_productSendObjs==null)
                {
                    _productSendObjs=new List<ProductSendObj>();
                }
                return _productSendObjs;
            }
        }

        //购买意向
        public Company WantOrderProduct(Product.Product products,int count)
        {
           //  _productSendObjs.Add(new ProductSendObj());
            return this;
        }
    }
}
